#include<bits/stdc++.h>
using namespace std;
int n,m,tu,ji;
int main(){
	while(scanf("%d %d",&n,&m)!= EOF){
		ji = (m-n*2)/2;
		tu = n-ji;
		if(ji>=0&&tu>=0)printf("%d %d\n",tu,ji);
		else puts("No answer");
	}
	return 0;
}
